package org.achartengine.internal.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/* loaded from: classes2.dex */
public class c implements Serializable {
    private String a;
    private List<String> b = new ArrayList();
    private List<String[]> c = new ArrayList();
    private List<double[]> d = new ArrayList();

    public c(String str) {
        this.a = str;
    }

    public void a(String[] strArr, double[] dArr) {
        a(this.b.size() + "", strArr, dArr);
    }

    public void a(String str, String[] strArr, double[] dArr) {
        this.b.add(str);
        this.c.add(strArr);
        this.d.add(dArr);
    }

    public void a(int i) {
        this.b.remove(i);
        this.c.remove(i);
        this.d.remove(i);
    }

    public void a() {
        this.b.clear();
        this.c.clear();
        this.d.clear();
    }

    public double[] b(int i) {
        return this.d.get(i);
    }

    public String c(int i) {
        return this.b.get(i);
    }

    public int b() {
        return this.b.size();
    }

    public int d(int i) {
        return this.d.get(i).length;
    }

    public String[] e(int i) {
        return this.c.get(i);
    }

    public h c() {
        return new h(this.a);
    }
}
